<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" href="Public/Admin/Css/public.css" />
	<script type="text/javascript" src="Public/Admin/Js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="Public/Admin/Js/public.js"></script>
	<script type="text/javascript">
	function del(cid){
		if(confirm('确定删除吗？')){
			location.href="{{'Category/del'|U}}&cid=" + cid;	
		}
	}
</script>

</head>

<body>
	<table class="table">
		<tr>
			<td class="th" colspan="20">分类列表</td>
		</tr>
		<tr class="tableTop">
		
			<td class="tdLittle1">ID</td>
			<td>分类名称</td>
			<td class="tdLtitle7">操作</td>
		</tr>
	{{foreach from=$cate item=v}}
		<tr>
			
			<td>{{$v.cid}}</td>
			<td>{{$v.title}}</td>
			
			<td>
				[<a href="{{'Category/addSon'|U}}&cid={{$v.cid}}">添加子分类</a>][
				<a href="{{'Category/edit'|U}}&cid={{$v.cid}}">修改</a>][
				<a href="javascript:del({{$v.cid}});" class="del">删除</a>]
			</td>
		</tr>
	{{/foreach}}	
	</table>

</body>
</html>